/**
 * @Author: wsl
 * @Date: 2022/2/15 10:03
 */
package com.wsl.dao;

import com.wsl.entity.blog.Tag;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface TagDao extends JpaRepository<Tag, Long> {

    int deleteByName(String name);


    Tag findByName(String name);

}
